import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path:"template",
    loadChildren:"./template/template.module#TemplateModule"
  },
  {
    path:"channel",
    loadChildren:"./channel/channel.module#ChannelModule"
  },
  {
    path:"rule",
    loadChildren:"./rule/rule.module#RuleModule"
  },
  {
    path:"instance",
    loadChildren:"./instance/instance.module#InstanceModule"
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class AlarmRoutingModule { }
